﻿using System;
using System.Collections.Generic;
using System.Text;
using PostSharp.Laos;
using B4ALL.JITL.Contract;

namespace B4ALL.Cache.Singleton.Contract
{
    public interface ICacheSingletonService
    {
        CacheSingletonKey GetKey(MethodExecutionEventArgs eventArgs);
        CacheSingletonKey GetKey(ICacheSingleton obj);
        bool IsSingleton(Type t);
        bool IsSingleton(MethodExecutionEventArgs eventArgs);
        ICacheSingleton NewDummyObject(MethodExecutionEventArgs eventArgs);
        void LoadByRef(Object dummyTargetSrc);
    }
}
